/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.sunspotworld;

import java.util.Hashtable;

/**
 *
 * @author Administrator
 */
public class SensorArray {
    Hashtable sensors = new Hashtable();
    public void add( String name, SensorInterface sensor ){
        sensors.put(name, sensor);
    }
    
    public SensorInterface get( String name ){
        return (SensorInterface)sensors.get(name);
    }

}
